<!-- <script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script> -->
<script src="//cdn.bootcss.com/zepto/1.0rc1/zepto.min.js"></script>
<?php 
	   setcookie('name','1',time() + 86400,'/','.cross.com');
?>

<script type="text/javascript">
/*
$.ajax({
   url: 'http://b.cross.com/b.php',
   xhrFields: {
      withCredentials: true
   }
});

var x=new XMLHttpRequest();
x.open('GET','http://b.cross.com/b.php',1);
x.onload=function(){
    console.log(x.responseText);
};
x.withCredentials = true;
x.send();
*/
$.ajax({
   url: 'http://b.cross.com/b.php',
   dataType: 'jsonp'
});

</script>
